//
//  ZDNoticeCell.m
//  特种车调度
//
//  Created by 陈宇 on 15/8/18.
//
//

#import "ZDNoticeCell.h"

@interface ZDNoticeCell ()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end

@implementation ZDNoticeCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setNotice:(Notice *)notice
{
    _notice = notice;
    
    _titleLabel.text = _notice.msgName;
    _dateLabel.text = _notice.sentDate;
    _contentLabel.text = _notice.content;
}

@end
